tegra: tegra124: Add a PMC syscon driver
authorSimon Glass <[email protected]>
Tue, 25 Jul 2017 14:29:58 +0000 (08:29 -0600)
committerSimon Glass <[email protected]>
Fri, 28 Jul 2017 18:02:47 +0000 (12:02 -0600)
commit66de3eee7923d3eb4101ff2565afa48f4376a939
treea76d8e1601fbcca8a5c4d21aa0d066d6d98e94ca
parent9b6b3c1b50bac5a1fe8870c2c19d62c118a79147
tegra: tegra124: Add a PMC syscon driver

The PMC can be modelled as a syscon peripheral. Add a driver for this
so that it can be accessed by drivers when needed. Enable it for tegra124
boards.

Signed-off-by: Simon Glass <[email protected]>
Tested-by: Marcel Ziswiler <[email protected]>
Tested-on: Beaver, Jetson-TK1
Tested-by: Stephen Warren <[email protected]>
arch/arm/include/asm/arch-tegra/tegra.h
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/tegra124/Makefile
arch/arm/mach-tegra/tegra124/pmc.c [new file with mode: 0644]